package com.kingyea.mobilepolice.kim.dao;

import com.kingyea.mobilepolice.kim.bean.KimUserFriendsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Linxiuzi
 * @version v1.0.0
 * @description KimUserFriendsMapper
 * @date Created in 2018-04-26 15:22:48
 */
public interface KimUserFriendsMapper {

    /**
     * 通过用户ID获取好友列表
     *
     * @param userId
     * @return
     */
    List<KimUserFriendsVo> getUserFriendsVoByUserId(String userId);

    /**
     * 添加好友
     *
     * @param userId
     * @param friendIds
     */
    int addFirends(@Param("userId") String userId, @Param("friendIds") List<String> friendIds);
}
